package com.jch.helloworld.configBeans.properties;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestMain {


    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("/beans/bean-properties.xml");
        Demo testProperties = (Demo) ctx.getBean("testProperties");
        System.out.println(testProperties);
    }
}
